package com.thiswhyme.gatewayserver.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author thiswhyme 2020/6/1
 */
@Data
@Accessors(chain = true)
public class UserDto implements IUser {

    private Long userId;

    private String username;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String token;
}
